//系统查询   每页显示数据 12     
	function js_method() {
		$(".dropload-down").remove();
		$('#lists').html("");
		loadDataPage("operation/user", "srcoll-documentation", "lists", 12,"userName");
	
	}
	 //构建数据列表
	function dataKk(data, me) {
		var result = '';
		var arrLen = data.length;
		if (arrLen > 0) {
			for (var i = 0; i < arrLen; i++) {
				result += '<a href="#">' + '<li id='+data[i].id+'>'
						+ '<div class="spare-new">'
						+ '<div class="spare-newl">用户名称：' + data[i].userName
						+ '</div>' + '<div class="spare-newl">用户角色：'
						+ data[i].roleName + '</div>' + '</div>'
						+ '<div class="user-new">备注：' + data[i].userRemark
						+ '</div>' + '<div class="documentation-check"></div>'
						+ '</li>' + '</a>'
			}
		} else {
			me.lock();
			me.noData();
		}
		return result;
	}

	function passwordReset(url) {
	if ($('.spare-ara').find('li[class="active"]').length > 1) {
		$
				.Zebra_Dialog(
						'<div class="prompt"><div class="success-icon"></div><div class="success-title">请选择一条数据</div></div>',
						{
							'title' : '提示',
							'buttons' : [ '确定' ]
						});

	} else {
		var id = $('.spare-ara').find('li[class="active"]').attr("id")

		$
				.ajax({
					type : "post",
					dataType : "json",
					data : {
						id : id
					},
					url : url,
					success : function(data, status) {
						if (data.code == "403") {

							$
									.Zebra_Dialog(
											'<div class="prompt"><div class="success-icon"></div><div class="success-title">没有权限</div></div>',
											{
												'title' : '提示',
												'show_close_button' : false,
												'buttons' : [ {
													caption : '确定',
													callback : function() {
														//window.location.href = "/user";
														loadPage("/user");
													}
												} ]
											});

						} else {
							$
									.Zebra_Dialog(
											'<div class="prompt"><div class="success-icon"></div><div class="success-title">密码重置成功</div></div>',
											{
												'title' : '提示',
												'show_close_button' : false,
												'buttons' : [ {
													caption : '确定',
													callback : function() {
														loadPage("/user");

													}
												} ]
											});
						}
					},
					error : function(data) {

						$
								.Zebra_Dialog(
										'<div class="prompt"><div class="success-icon"></div><div class="success-title">密码重置失败!</div></div>',
										{
											'title' : '提示',
											'show_close_button' : false,
											'buttons' : [ {
												caption : '确定',
												callback : function() {
													loadPage("/user");

												}
											} ]
										});

					}
				});
	}

}